package chapter67;

public class TestPersons {

	public static void main(String[] args) {
		Persons[] person = { new Persons(22,"韩冰"),new Persons(23,"刘硕"),new Persons(24,"马达")};
		for (int i = 0; i < person.length; i++) {
			System.out.println("age的属性等于"+person[i].age+",name的属性等于"+person[i].name);
		}

	}

}
